package com.example03;

public class Employee implements Workable {
    private String name;
    private double basicSela;
    public Employee(String name,double basicSela) {
        this.name = name;
        this.basicSela = basicSela;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getBasicSela() {
        return basicSela;
    }

    public void setBasicSela(double basicSela) {
        this.basicSela = basicSela;
    }

    @Override
    public void updateName(String name) {
        this.name = name;
    }

    @Override
    public void calculateSalary(double sela) {

    }
}